#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QPushButton>
#include <QString>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    QString m_normalImgPath;
    QString m_pressImgPath;

    // explicit MyPushButton(QWidget *parent = nullptr);
    MyPushButton(QString normalImgPath, QString pressImgPath = "");
    void zoom1();
    void zoom2();

    //鼠标按下事件
    void mousePressEvent(QMouseEvent *e);

    //鼠标释放事件
    void mouseReleaseEvent(QMouseEvent *e);

    //鼠标进入事件
    //void enterEvent(QEvent* e);

    //鼠标离开事件
    //void leaveEvent(QEvent* e);


signals:

public slots:
};

#endif // MYPUSHBUTTON_H
